package com.softmarket.login;

import org.seasar.framework.util.ResourceUtil;

import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;

public class RakutenLoginRmsOrder extends RakutenLoginNew {

//	private static String CHECK_KEY = "rainb0whayaman";

	@Override
	public String getCheckKey() {
		return new String(Base64.decode( ResourceUtil.getProperties(
		"softmarket.properties").getProperty("rakuten.ck.rms.order")));
	}

	@Override
	public String getLoginUrl() {
		return ResourceUtil.getProperties(
		"softmarket.properties").getProperty("rakuten.login.url.rms.order");
	}

	@Override
	public String getLoginUrlJsession() {
		return ResourceUtil.getProperties(
		"softmarket.properties").getProperty("rakuten.login.url.jsession.rms.order");
	}

	public static void main(String args []){
		RakutenLoginRmsOrder rlro = new RakutenLoginRmsOrder();
		System.out.println(rlro.getCookieShop("286531"));
		System.out.println(rlro.getLoginUrl("286531"));
	}

}
